set(netCDF_PATH
        /opt/netcdf.ifort
)
set(netCDF_INCLUDE_DIRS
        ${netCDF_PATH}/include
)
set(netCDF_LIBRARIES
        ${netCDF_PATH}/lib
)

message(STATUS "Found netCDF headers: " ${netCDF_INCLUDE_DIRS})
message(STATUS "Found netCDF libraries: " ${netCDF_LIBRARIES})

set(netCDF_FOUND on)
